import load_image
import data2.config as config
import data2.preprocessing as preprocessing
import cv2

g = load_image.generator_char_image_and_char_label(config.yzm_path, config.suffix, preprocessing.mapping_line_parser,
                                               preprocessing.preprocessing)


for char_img, char_label in g:
    print(char_label)